package bean;

import java.io.Serializable;

public class TestBean implements Serializable {
    private int id;
    private String test1;
    private String test2;

    public TestBean(int id, String test1, String test2) {
        this.id = id;
        this.test1 = test1;
        this.test2 = test2;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTest1() {
        return test1;
    }

    public void setTest1(String test1) {
        this.test1 = test1;
    }

    public String getTest2() {
        return test2;
    }

    public void setTest2(String test2) {
        this.test2 = test2;
    }

    @Override
    public String toString() {
        return "TestBean{" +
                "id=" + id +
                ", test1='" + test1 + '\'' +
                ", test2='" + test2 + '\'' +
                '}';
    }
}
